//
//  Nest_Type_InClass.cpp
//  learnC++
//
//  Created by apple on 2018/6/4.
//  Copyright © 2018年 yunfan.com. All rights reserved.
//

#include "Nest_Type_InClass.hpp"

Fruit::Fruit(FruitType type){
    m_type = type;
}

Fruit::FruitType Fruit::getType(){
    return m_type;
}

int Fruit::getPercentageEaten(){
    return m_percentageEaten;
}


